<script setup lang="ts">
import {
  NConfigProvider,
  NGlobalStyle,
  NLoadingBarProvider,
  NMessageProvider,
  NNotificationProvider,
  NDialogProvider,
  zhCN,
  dateZhCN,
} from "naive-ui";
import ThemeStyle from "./ThemeStyle.vue";
import Home from "@/components/Home.vue";
</script>

<template>
  <NConfigProvider :locale="zhCN" :date-locale="dateZhCN">
    <NLoadingBarProvider>
      <NMessageProvider>
        <NNotificationProvider>
          <NDialogProvider>
            <ThemeStyle />
            <Home />
          </NDialogProvider>
          <NGlobalStyle />
        </NNotificationProvider>
      </NMessageProvider>
    </NLoadingBarProvider>
  </NConfigProvider>
</template>

<style></style>
